Skip to main content

Iterate

Description

Calls the Proc procedure for each existing entity. In other words, this procedure converts DXF/DWG tree structure to a linear sequence of entities, similar to Windows metafile. It is a basis for different operations such as drawing or import of CAD files.FinishProc has to be called after Proc function if it is not nil. By default FinishProc is nil. It serves for auxiliary needs.

Syntax

procedure Iterate(AConverter: TsgDXFConverter; Proc, FinishProc: TsgCADEntityProc); virtual;